/**
 * 
 * @author Travis C lynch <travisclynch@student.midlandstech.edu>
 * @version Jan 21 2012
 * <br>
 * <br>
 * <b>Description</b>
 * <p>
 * Node Class that Contains the data for implementing inside CircularList
 */

public class Node<T> {

	private T data;
	private Node<T> next;
	public Node() {
	}
	public Node(T d) {
		data = d; next = null;
	}
	public Node(T d, Node<T> n) {
		data = d; next = n;
	}
	public T getData() { return data; }
	public Node<T> getNext() { return next; }
	public void setData(T d) { data=d; }
	public void setNext(Node<T> n) { next = n; }
	
}
